package com.zmj.service.impl;

import com.zmj.entity.SysUser;
import com.zmj.mapper.UserDao;
import com.zmj.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserDao userDao;

    @Override
    public SysUser login(SysUser user) {
        return userDao.login(user);
    }
}
